
/*
CParticleManager.h
Particle Manager element

*/


#pragma once
#include <map>
using std::map;
#include <string>
using std::string;
#include <vector>
using std::vector;
#include "Emitter.h"
#include "../SGD Wrappers/CSGD_TextureManager.h"

class CParticleManager :	public  CEntity
{
public:
	CParticleManager(void);
	~CParticleManager(void);

	void LoadEmitter(void);
	void AddEmitter(const char* szFileName);
	//list of emitter
	vector<CEmitter*> Emitters;
	//super vector of emitters.
	map<string,CEmitter> m_mapEmitter;
	
	virtual void Update( float fElapsedTime );
	virtual void Render( void );

};

